Optimal. Leaf size=796 \[ -\frac{\sqrt{3} \tan ^{-1}\left (\frac{\sqrt [3]{2} (2-x)^{2/3}}{\sqrt{3} \sqrt [3]{1-x}}+\frac{1}{\sqrt{3}}\right )}{4 \sqrt [3]{2}}+\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{4 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}-\frac{\sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{2^{5/6} \sqrt [4]{3} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{3 \log \left (\frac{(2-x)^{2/3}}{2^{2/3}}-\sqrt [3]{1-x}\right )}{8 \sqrt [3]{2}}-\frac{\log (x)}{4 \sqrt [3]{2}}-\frac{(1-x)^{2/3} (2-x)^{2/3}}{2 x}-\frac{\sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{2 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.03201, antiderivative size = 796, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.364 \[ -\frac{\sqrt{3} \tan ^{-1}\left (\frac{\sqrt [3]{2} (2-x)^{2/3}}{\sqrt{3} \sqrt [3]{1-x}}+\frac{1}{\sqrt{3}}\right )}{4 \sqrt [3]{2}}+\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{4 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}-\frac{\sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{2^{5/6} \sqrt [4]{3} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{3 \log \left (\frac{(2-x)^{2/3}}{2^{2/3}}-\sqrt [3]{1-x}\right )}{8 \sqrt [3]{2}}-\frac{\log (x)}{4 \sqrt [3]{2}}-\frac{(1-x)^{2/3} (2-x)^{2/3}}{2 x}-\frac{\sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{2 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )} \]
Warning: Unable to verify antiderivative.
[In] Int[1/((1 - x)^(1/3)*(2 - x)^(1/3)*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 36.1556, size = 714, normalized size = 0.9 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(1-x)**(1/3)/(2-x)**(1/3)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.451533, size = 219, normalized size = 0.28 \[ \frac{(1-x)^{2/3} \left (-\frac{50 F_1\left (\frac{2}{3};\frac{1}{3},1;\frac{5}{3};x-1,1-x\right )}{5 F_1\left (\frac{2}{3};\frac{1}{3},1;\frac{5}{3};x-1,1-x\right )-(x-1) \left (3 F_1\left (\frac{5}{3};\frac{1}{3},2;\frac{8}{3};x-1,1-x\right )-F_1\left (\frac{5}{3};\frac{4}{3},1;\frac{8}{3};x-1,1-x\right )\right )}+\frac{8 (x-1) F_1\left (\frac{5}{3};\frac{1}{3},1;\frac{8}{3};x-1,1-x\right )}{(x-1) \left (3 F_1\left (\frac{8}{3};\frac{1}{3},2;\frac{11}{3};x-1,1-x\right )-F_1\left (\frac{8}{3};\frac{4}{3},1;\frac{11}{3};x-1,1-x\right )\right )-8 F_1\left (\frac{5}{3};\frac{1}{3},1;\frac{8}{3};x-1,1-x\right )}+5 (x-2)\right )}{10 \sqrt [3]{2-x} x} \]
Warning: Unable to verify antiderivative.
[In] Integrate[1/((1 - x)^(1/3)*(2 - x)^(1/3)*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.128, size = 0, normalized size = 0. \[ \int{\frac{1}{{x}^{2}}{\frac{1}{\sqrt [3]{1-x}}}{\frac{1}{\sqrt [3]{2-x}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(1-x)^(1/3)/(2-x)^(1/3)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x^{2}{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(1-x)**(1/3)/(2-x)**(1/3)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x^{2}{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(x^2*(-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="giac")
[Out]